package com.lms.desiginmode.builder.infobuilder;

import com.lms.desiginmode.builder.Info;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-12-12 16:50
 * @Description:
 */
public abstract class InfoBuilder {

    abstract void price();
    abstract Info create();

    public Info build(){
        price();
        return this.create();
    }
}
